package com.w.tank;

import java.util.Arrays;

public class TestImag {
    public static void main(String[] args) {
      int [] arr = {2,34,45,3,2,4,5,6,7,};
//        Arrays.stream(arr).forEach(System.out::println);
        int[] array = Arrays.stream(arr).filter(x -> x>0).toArray();
        Arrays.stream(array).forEach(System.out::println);



    }
}
